<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //         let arrayLike = {
      //     "0": "a",
      //  "1": "b",
      //  "2": "c",
      //  "length": 3
      // }

      //   function doSomething() {
      //     let args = Array.from(arguments);
      //     console.log(args);
      //   }

      //   doSomething("一", "二", "三");
      function weishu() {
        let args = Array.from(arguments);
        console.log(args);
      }
      weishu("姓名", "年龄", "三");
    </script>
  </body>
</html>
